<?php
echo '<pre>';
print_r($_POST);
print_r($_FILES);
move_uploaded_file($_FILES['photo']['tmp_name'], $_FILES['photo']['name']);